﻿using System;
using System.Collections.Generic;
using System.Text;

namespace _1_Interfaces
{
    /// <summary>
    /// 返回结果封装
    /// </summary>
    public class ApiResult<T>
    {
        /// <summary>
        /// 状态
        /// </summary>
        public int Code { get; set; }
        /// <summary>
        /// 提示信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 返回数据
        /// </summary>
        public T Date { get; set; }
    }
}
